import React from 'react'
// ===================================================================== global template
const Content = window.$Lazy.load(()=>import('@tp/content'))
// =====================================================================
const Index = ({ children, className, scroll, style }) => {
	return (
		<Content scrollX scrollY={scroll}>
			<section className={`${scroll ? '' : 'wh'} ${className||''}`} style={{padding:'5px 10px 10px',minWidth:1100,minHeight:'100%',...style}}>
				{children}
			</section>
		</Content>
	)
}

export default Index